import React, { Component } from 'react'
import PropTypes from 'prop-types'

export default class Swiper extends Component {

  // static defaultProps={
  //   loop:true
  // }

  render() {
    return (
      <div>
       loop: {
          this.props.loop?'true':'false'
        }
      </div>
    )
  }
}


Swiper.defaultProps={
  loop:true,
  margin:10
}


Swiper.propTypes={
  loop:PropTypes.bool.isRequired,
  margin :PropTypes.number
}
